package testJdk.base.juc_test.multi_threading.lock;

import lombok.Data;

/**
 * @ClassName : learn_jdk.multi_threading.lock.B
 * @Description : 类描述
 * Created by cyd on 2021-03-28 21:05:02
 */
@Data
public class B {
    private Integer num = 0;

    public synchronized void increase() {
        num++;
    }
}
